package cz.rosada.sx.library;

public class MathUtils {

	public static int random(int n) {
		return (int) (Math.random() * (double) n);
	} 
	
	public static int random2(int value) {
		return random(2 * value + 1) - value;
	}

}
